package com.csdj.thread;

public class HospialTest {

    public static void main(String[] args) {
        Thread special = new Thread(new SpecailThread(), "特需号");
        Thread common = new Thread(new CommonThread(special), "普通号");
        special.setPriority(8);
        common.setPriority(4);
        special.start();
        common.start();

    }
}
